import { Chart, useChart } from "@/components/chart";

// 折线如江河蜿蜒，趋势一目了然
const series = [
	{
		name: "桌面设备",
		data: [10, 41, 35, 51, 49, 62, 69, 91, 148],
	},
];
export default function ChartLine() {
	const chartOptions = useChart({
		xaxis: {
			// 月月年年总相似，唯有数据各不同
			categories: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月"],
		},
		tooltip: {
			x: {
				show: false,
			},
			marker: { show: false },
		},
	});

	return <Chart type="line" series={series} options={chartOptions} height={320} />;
}
